/**
	License:		Artistic license 2.0 (see license.txt, also available online at http://www.perlfoundation.org/artistic_license_2_0)
	Authors:		OrbitalLab (http://www.orbitallab.ru/moonglide/), 2007-2009

	File:			MaterialIO.d
	Description:	material loading
	Date:			04.07.2008 by Jurec
*/
module moonglide.resources.io.material.MaterialIO;

import moonglide.resources.io.IResIOProvider;

// /////////

static this()
{
	CMaterialIOProvider maprov = new CMaterialIOProvider;

	CResManager().RegisterProvider( maprov );
}

//================================================================
/// shader io provider class
//================================================================
class CMaterialIOProvider : IResIOProvider // TODO: implement
{
	public:
		void	Load( char[] extension, ref IResource res, InputStream stream, uint streamsize ) {}
		bool	Save( char[] format, IResource res, ref Array buf ) { return false; }
		void	CreateErrorResourceData( IResource res, char[] errorResName ) {}

		char[]	GetResourceClass() { return CResMaterial.classinfo.name; }
}
